package cn.gary.oaserver.mapper;

import cn.gary.oaserver.entity.TEmployee;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gary
 * @since 2024-03-15
 */
public interface TEmployeeMapper extends BaseMapper<TEmployee> {

    IPage<TEmployee> getEmpByQuery(Page<TEmployee> pageInfo, @Param("empName") String empName, @Param("politicsId") Integer politicsId, @Param("deptId") Integer deptId,@Param("beginTime") String beginTime, @Param("endTime") String endTime, @Param("sort") String sort);
}
